package mapred.config;

import mapred.task.AbstractReducer;

@SuppressWarnings("unchecked")
public class CombineConfig {

    private Class<? extends AbstractReducer> combinerClass;

    private CombineConfig(
            Class<? extends AbstractReducer> combinerClass) {
        this.combinerClass = combinerClass;
    }

    public static CombineConfig newInstance(
            Class<? extends AbstractReducer> combinerClass) {
        return new CombineConfig(combinerClass);
    }

    public Class<? extends AbstractReducer> getCombinerClass() {
        return combinerClass;
    }

}
